<template>
  <view class="cash-audit">
    <view class="pictrue">
      <image src="https://qny.yijiumy.com/examine.png" />
    </view>
    <view class="tip">{{money > 100 ? '提现申请已提交，等待人工审核' : '提现成功'}}</view>
    <view class="time">{{ time }}</view>
    <view class="bnt bg-color-red" @click="goUser()">好的</view>
  </view>
</template>
<script>
export default {
  name: "CashAudit",
  components: {},
  props: {},
  data: function() {
    return {
      time: "",
	  money: 0
    };
  },
  mounted: function() {
    let myData = new Date();
    this.time = myData.toLocaleString();
	this.money = this.$yroute.query.money
	console.log(this.money)
  },
  methods: {
    goUserPromotion() {
      this.$yrouter.push({ path: "/userPack/pages/user/promotion/UserPromotion/index" });
    },
	goUser() {
		this.$yrouter.reLaunch({ path: "/pages/launch/index", query: { type: 'User' } });
	}
  }
};
</script>
